<?php get_header(); ?>
	<!-- begin: main content area #main -->
		<div id="main">
			<!-- begin: #col1 - first float column -->
			<div id="col1">
				<div id="col1_content" class="clearfix"><a id="content" name="content"></a><!-- skiplink anchor: Content -->
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
					<div class="post" id="post-<?php the_ID(); ?>">
						<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanenter Link zu <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
	<?php if ( $yamlconfig->di_getOptionValue('di_index_infotype') === 1 ) : ?>
						<p class="postinfo"><?php the_time('j. F Y'); ?> <?php  _e('von',''); ?> <?php the_author(); ?> | <?php comments_popup_link('kein Kommentar', '1 Kommentar', '% Kommentare', '', 'Kommentare sind abgeschaltet.'); ?> <?php edit_post_link('bearbeiten','| ',''); ?></p> 
	<?php endif; ?>
	<?php if ( $yamlconfig->di_getOptionValue('di_index_contenttype') === 1) :
						the_content('weiterlesen ...','');
	else:
						the_excerpt(); ?>
						<p class="more-link"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('weiterlesen ...',''); ?> <?php the_title(); ?>"><?php _e('weiterlesen ...',''); ?></a></p>
	<?php endif; ?>
						<hr />
					</div>
<?php endwhile;?>
					<div class="pagination floatbox">
						<p class="float_right"><?php previous_posts_link(__('Neure Beitr&auml;ge &raquo;', '')) ?></p>
						<p class="float_left"><?php next_posts_link(__('&laquo; &Auml;ltere Beitr&auml;ge', '')) ?></p>
					</div>
<?php else : 
					include (TEMPLATEPATH . '/nofound.php');
endif; ?>
				</div>
			</div>
			<!-- end: #col1 -->
			<?php include (TEMPLATEPATH . '/col_2.php'); ?>
			<?php include (TEMPLATEPATH . '/col_3.php'); ?>
			<?php get_footer(); ?>
